package com.hgkj.cloud.customer.controller;


import com.hgkj.cloud.base.service.TenantTableTaskInfoService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * Description:
 * <p>量表任务信息Controller</p>
 *
 * @Author Created by wujj
 * @Date 2023/9/19 11:32
 */
@RestController
@RequestMapping(path = "/tenant_table_task")
public class TenantTableTaskController {

    @Resource
    private TenantTableTaskInfoService tableTaskInfoService;


    @GetMapping("/save")
    public void save(@RequestParam(value = "user_uuid") String userUuid
            , @RequestParam("framework_id") String frameworkId
            , @RequestParam("value") String value
            , @RequestParam("times") String times
            , @RequestParam("task_info_uuid") String taskInfoUuid) {
        tableTaskInfoService.saveTasksInfoAndReports(userUuid, frameworkId, value, times, taskInfoUuid);
    }


}
